TouchStarted

fun TouchStarted(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchStarted
fun TouchStarted(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchStarted

Creates a new instance of TouchStarted event with the given parameters.

Since

8.0.0

Parameters

touches

All touch points that are currently present on the screen.

changedTouches

The touch points that became active with the current event.

targetTouches

The touch points that started on the target element of this event.

keyModifiers

The keyboard modifiers to apply.